<template>
  <div class="User">
    <h1>User</h1>
    <!-- {{$route.params.userId}}
    {{$route.query.name}} -->
    {{userId}} *** {{name}}
  </div>
</template>

<script>
  export default {
    props: ['userId', 'name'],
    created () {
      // console.log(this.$route.params)
    },
  }
</script>

<style lang="scss" scoped>

</style>